package com.example.ymm.modules1.service.user;

import com.example.ymm.base.BaseService;
import com.example.ymm.model.TableList;
import com.example.ymm.model.YmPageDto;
import com.example.ymm.modules1.entity.my.user.DbError;
import com.example.ymm.modules1.query.DbErrorQueryCriteria;

import java.util.List;

public interface DbErrorService extends BaseService<DbError> {


    TableList<DbError> list(DbErrorQueryCriteria criteria, YmPageDto ymPage);

    List<DbError> queryAll(DbErrorQueryCriteria criteria);

    void addError(DbError error);

}
